/*
 * @Author: Low-key 1334637865@qq.com
 * @Date: 2023-08-05 16:52:07
 * @LastEditors: Low-key 1334637865@qq.com
 * @LastEditTime: 2023-08-07 09:14:15
 * @FilePath: \pig\template_h5\postcss.config.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
module.exports = {
  plugins: {
    // postcss-pxtorem 插件的版本需要 >= 5.0.0
    'postcss-pxtorem': {
      rootValue ({ file }) {
        return file.indexOf('vant') !== -1 ? 37.5 : 75
      },
      propList: ['*']
    }
  }
}
